package com.base.essearch.video.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.base.essearch.video.entity.VideoMediaFile;
import com.base.essearch.webupload.entity.FileRecord;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lr
 * @since 2020-12-06
 */
public interface IVideoMediaFileService extends IService<VideoMediaFile> {

    void saveToEs(VideoMediaFile mediaFile, FileRecord fileRecord);

    VideoMediaFile getFileById(String file);

    VideoMediaFile getnext(String fileId);

    VideoMediaFile getpre(String fileId);

    VideoMediaFile getnextlast(String fileId);

    VideoMediaFile getprelast(String fileId);
}
